home *** CD-ROM | disk | FTP | other *** search
- The four programs included here can be used to control the state
- of the toggle keys from a batch file. For example, they can be used to
- insure that caplock is on for a program that doesn't recognize lower
- case, or to set the numeric pad to the desired state after rebooting,
- despite what DOS may do. Caplock.com included here is not the PC mag program
- that decides that you don't really want caps on and turns it off when you
- use the shift key. These programs simply turn the flags on or off. THe
- syntax is as follows:
-
- NUMLOCK [ON|OFF] Controls the number lock state
- CAPLOCK [ON|OFF] " caps " "
- SCRLOCK [ON|OFF] " scroll " "
- INSLOCK [ON|OFF] " insert " "
-
- The programs are very simple minded. Anything in the third character of the
- command tail that when masked by 0FH results in 0EH will set the state ON.
- Anything else will set the state OFF. For those who don't speak hexadecimal,
- this means that the characters ".", ">", "N", "n", "^" and "~" will turn it
- on if they are where the "N" is in the following line:
-
- caplock oN
-
- If you put two spaces following the word caplock, it will turn off. I don't
- try to parse the line, I just check the character location. It took less time
- to write the programs than it did to write this explanation. You are getting
- what you paid for here.
-
- Otherwise these are pretty handy programs. I think you will find them useful.
-
- Ken Norris
-